/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * Talk.java
 *
 * Created on 18/06/2009, 23:15:14
 */

package mrstalk;

/**
 *
 * @author gabriel
 */
public class Talk extends javax.swing.JFrame {

    /** Creates new form Talk */
    public Talk() {
        initComponents();
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        sclTalk = new javax.swing.JScrollPane();
        txtTalk = new javax.swing.JTextArea();
        sclMessage = new javax.swing.JScrollPane();
        txtMessage = new javax.swing.JTextArea();
        btnSend = new javax.swing.JButton();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setName("Form"); // NOI18N

        sclTalk.setName("sclTalk"); // NOI18N

        txtTalk.setColumns(20);
        txtTalk.setRows(5);
        txtTalk.setName("txtTalk"); // NOI18N
        sclTalk.setViewportView(txtTalk);

        sclMessage.setName("sclMessage"); // NOI18N

        txtMessage.setColumns(20);
        txtMessage.setRows(5);
        txtMessage.setName("txtMessage"); // NOI18N
        sclMessage.setViewportView(txtMessage);

        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(mrstalk.MRSTalkApp.class).getContext().getResourceMap(Talk.class);
        btnSend.setText(resourceMap.getString("btnSend.text")); // NOI18N
        btnSend.setName("btnSend"); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(sclMessage, javax.swing.GroupLayout.PREFERRED_SIZE, 296, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(btnSend, javax.swing.GroupLayout.PREFERRED_SIZE, 59, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(sclTalk, javax.swing.GroupLayout.DEFAULT_SIZE, 376, Short.MAX_VALUE))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(sclTalk, javax.swing.GroupLayout.PREFERRED_SIZE, 194, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(layout.createSequentialGroup()
                        .addGap(18, 18, 18)
                        .addComponent(sclMessage, javax.swing.GroupLayout.DEFAULT_SIZE, 87, Short.MAX_VALUE))
                    .addGroup(layout.createSequentialGroup()
                        .addGap(44, 44, 44)
                        .addComponent(btnSend)))
                .addContainerGap())
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
    * @param args the command line arguments
    */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new Talk().setVisible(true);
            }
        });
    }

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton btnSend;
    private javax.swing.JScrollPane sclMessage;
    private javax.swing.JScrollPane sclTalk;
    private javax.swing.JTextArea txtMessage;
    private javax.swing.JTextArea txtTalk;
    // End of variables declaration//GEN-END:variables

}
